package nl.project.data;

import java.util.ArrayList;

/**
 * @author Wouter
 * 
 * 
 */


 /** 
  * 
  * This class contains all data regarding the enrollments made.
  * 
  */
public class Enrollment {
	private int parentID;
	private int teacherID;
	private int studentID;
	/**
	 * contact is a String ArrayList where 
	 * 0 is the mail address of the specified parent
	 * 1 is the street address
	 * 2 is the zip code
	 * 3 is the city/town
	 * 4 is the phone number
	 */
	private ArrayList<String> contact = new ArrayList<String>();
	private int duration = 15;
	/**
	 * ArrayList of preferences
	 * [0] = arraylist  => 	[0] = day 1 (value: true/false) vmbo/mavo
	 *                 		[1] = day 2 (same)	havo
	 *                 		[2] = day 3 (same)	vwo
	 * [1] = String => "Early" || "Later" || "None"
	 */
	private ArrayList preferences = new ArrayList();

	public int getParentID() {
		return parentID;
	}

	public int getTeacherID() {
		return teacherID;
	}

	public int getStudentID() {
		return studentID;
	}

	public ArrayList<String> getContact() {
		return contact;
	}

	public int getDuration() {
		return duration;
	}
	
	public ArrayList getPreferences() {
		return preferences;
	}

	/**
	 * @param parentID the parentID to set
	 */
	public void setParentID(int parentID) {
		this.parentID = parentID;
	}

	/**
	 * @param teacherID the teacherID to set
	 */
	public void setTeacherID(int teacherID) {
		this.teacherID = teacherID;
	}

	/**
	 * @param studentID the studentID to set
	 */
	public void setStudentID(int studentID) {
		this.studentID = studentID;
	}

	/**
	 * @param contact the contact to set
	 */
	public void setContact(ArrayList<String> contact) {
		this.contact = contact;
	}	

	/**
	 * @param duration the duration to set
	 */
	public void setDuration(int duration) {
		this.duration = duration;
	}

	/**
	 * @param preferences the preferences to set
	 */
	public void setPreferences(ArrayList preferences) {
		this.preferences = preferences;
	}
	
}
